MelhorEnvio\Services\CartService B

Total Complexity 86
Dependencies 17
Dependents 4
Total lines 435
Lines of code 277
Logical lines of code 145
Comment lines 69
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
validateAddress()
C
43 26 40
validatePayloadBeforeAddCart()
B
39 21 60
getInfoCart()
A
50 9 29
getAgencyToInsertCart()
S
56 7 18
getVolumes()
S
54 6 22
validateVolume()
S
58 6 17
add()
S
48 4 38
createPayloadToCart()
S
48 3 34
remove()
S
61 2 13
isAgencyNecessary()
S
70 2 6